package com.leilbase.authshiro.auth.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Leil
 * @since 2019-07-23
 */
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    private String permission;

    private Integer roleId;

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }
    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "Permission{" +
            "permission=" + permission +
            ", roleId=" + roleId +
        "}";
    }
}
